DataCollection | ComponentOne
C1.iOS.DataCollection Assembly / C1.iOS.DataCollection Namespace / C1TableViewSource<T> Class / NumberOfSections Method
Table view displaying the sections.

In This Topic
    NumberOfSections Method (C1TableViewSource<T>)
    In This Topic
    Returns the number of sections that are required to display the data.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function NumberOfSections( _
       ByVal tableView As UIKit.UITableView _
    ) As IntPtr
    public override IntPtr NumberOfSections( 
       UIKit.UITableView tableView
    )

    Parameters

    tableView
    Table view displaying the sections.

    Return Value

    Number of sections required to display the data. The default is 1 (a table must have at least one section).
    See Also